package com.key.service;

import com.key.entity.Employee;

import java.util.List;

/**
 * @Author：朕
 * @Package：com.key.service
 * @Project：ams_system
 * @name：EmployeeService
 * @Date：2023/2/22 12:32
 * @Filename：EmployeeService
 */
public interface EmployeeService {

    //显示员工信息
    List<Employee> findEmployee();

    //增加员工
    boolean addEmployee(Employee employee);

    //删除员工
    boolean deleteEmployee(int employeeId);

    //根据工号查询员工信息
    List<Employee> findEmployeeById(int employeeId);

    //修改员工信息
    boolean updateEmployee(Employee employee);

}
